Skip to content

Complete api tests#227

Open
abhishekrk0903 wants to merge 3 commits intoautomationExamples:mainfrom
abhishekrk0903:complete-api-tests
Open

Complete api tests#227
abhishekrk0903 wants to merge 3 commits intoautomationExamples:mainfrom
abhishekrk0903:complete-api-tests

Conversation

@abhishekrk0903
Copy link
Copy Markdown

fix/test: resolve schema type bug and complete API test TODOs

  • Fix schemas.py: name field type was 'integer', corrected to 'string'
  • Complete test_pet_schema: was failing due to schema bug
  • Extend test_find_by_status_200: added all statuses, response code,
    status assertion, and per-object schema validation
  • Implement test_get_by_id_404: parametrized with edge cases
  • Implement test_patch_order_by_id: fixture, schema validation,
    status code and message assertions
  • Add Order schema to schemas.py for store test validation
  • Add test_patch_order_not_found for 404 coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant